package com.itheima.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.health.dto.CheckGroupDTO;
import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.pojo.CheckItem;

import java.util.List;


public interface CheckGroupService extends IService<CheckGroup> {

    //新增
    void saveCheckGroup(CheckGroupDTO checkGroupDTO);
    //分页
    PageResult findPage(QueryPageBean queryPageBean);
    //编辑
    List<Integer> findCheckItemIdsByGroupId(int id);
    //删除
    String deleteyGroupById(Integer id);

    //查询所有有效数据
    List<CheckGroup> findAll();

}
